package com.zprmb.udzt.bean;

import org.json.JSONObject;

public class InvestDT_Bean extends BaseBean<InvestDT_Bean>{
	
	public String investAmount;
	public long investTime;
	public String repaymentType;
	public String closurePeriod;
	public String nextRepayDate;
	public String fixedRate;
	public String amount;
	public String productType;
	public String investId;
	public String countRateDate;
	public long repayTime;
	public String sumRepayAmount;
	
	
	public InvestDT_Bean parseJSON(JSONObject inputJsonObj) {
		investAmount = inputJsonObj.optString("investAmount");
		investTime = inputJsonObj.optLong("investTime",0);
		repaymentType = inputJsonObj.optString("repaymentType");
		closurePeriod = inputJsonObj.optString("closurePeriod");
		nextRepayDate = inputJsonObj.optString("nextRepayDate");
		fixedRate = inputJsonObj.optString("fixedRate");
		amount = inputJsonObj.optString("amount");
		productType = inputJsonObj.optString("productType");
		investId = inputJsonObj.optString("investId");
		countRateDate = inputJsonObj.optString("countRateDate");
		repayTime = inputJsonObj.optLong("repayTime",0);
		sumRepayAmount = inputJsonObj.optString("sumRepayAmount");
		return this;
	}

}
